package practice06;

public class Student extends Person{
    private String name;
    private int age;
    private int Klass;
    public String introduce(){
        return super.introduce()+" I am a Student. I am at Class "+Klass+".";
    }

    public Student(String name, int age, int klass) {
        super(name, age);
        Klass = klass;
    }

    @Override
    public String getName() {
        return super.getName();
    }

    @Override
    public int getAge() {
        return super.getAge();
    }

    public int getKlass() {
        return Klass;
    }
}
